from multiprocessing import Process, Queue

class P(Process):
    sth = 10
    def run(self):
        self.sth = 20
        

p = P()
print p.sth
p.start()
p.join()
print p.sth
